package com.sakiko.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * projectName: com.sakiko._02_springboot_initalizr.bean
 *
 * @author: Yang
 * description: User
 * time: 2025/7/27 14:44
 */
@Data
@Component
public class User {

    @Value("${yang.user.name}")
    private String name;

    @Value("${yang.user.password}")
    private String password;
}
